export interface LoginInfo {
  account: string
  password: string
}

export const originUserInfo = {
  focus: [],
  nickname: "",
  account: "",
  id: "",
  avatar: "",
  slogan: "",
  sex: "",
  city: "",
  createAt: "",
  inWhiteList: true,
  froozen: false,
  age: "",
  role: 'normal',
  score: 0,
  vip: true
}

export interface UserInfo {
  focus: string[]
  account: string,
  id: string,
  avatar: string,
  nickname: string,
  slogan: string,
  sex: string,
  city: string,
  createAt: string,
  inWhiteList: boolean,
  froozen: boolean,
  age: string,
  role: string,
  score: number,
  vip: boolean
}

export interface RegisterInfo {
  nickname: string
  telephone: string
  setPassword: string
  confirmPassword: string
  confirmCode: string
}

export interface ResetPasswordInfo {
  account: String
  newConfirmPassword: string
  newPassword: string
  confirmCode: string
}

export interface ChangeAccount {
  account: string
  nickname: string
  slogan: string
  sex: "male" | "female" | "secret"
  city: string
  age: string
}

export interface IChangeAvatar {
  account: string
  avatar: string
}